using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;
using System.Data;

namespace TTBox
{
    internal class GPSData
    {
        // Fields
        public static bool ackFlag = false;
        public static string baudrateAT = "115200";
        public static string baudrateGPS = "4800";
        public static bool bResDispFailed = false;
        public static bool bResp = false;
        public static string comportADP = "COM4";
        public static string comportAT = "COM2";
        public static string comportGPS = "COM3";
        public static string CustDestLat;
        public static string CustDestLon;
        public static string CustDestPt;
        public static string CustLongReqId;
        public static string CustName;
        public static string CustNumber;
        public static string CustReqId = "";
        public static string CustShortReqId = "";
        public static string CustSrcLat;
        public static string CustSrcLon;
        public static string CustSrcPt;
        public static int dgResMsgCnt = 0;
        public static string DispatchProc = "";
        public static string DispatchType = "";
        public static char dispConfrm;
        public static char DispProc;
        public static string dt = "";
        public static DateTime dtEArrTm;
        public static DataTable dtResMsg = null;
        public static string filePath = "/FlashDisk/PNDSoftware/PNDSoftware.config";
        public static bool flagFPushKeyEnable = false;
        public static bool flagfstPush = false;
        public static string flagOverTimePush = "0";
        public static char flagRestGrab = '0';
        public static bool flagSPushKeyEnable = false;
        public static string formHeader = "";
        public static string gpsFix = "";
        public static string GrabACabMsg = "";
        public static string GrabACabRecId = "";
        public static string idnFrameId = "0A";
        public static string imeiNO = "";
        public static string imsiNO = "";
        public static string IPAddr = "";
        public static bool isADPGetOff = false;
        public static bool isADPGetOn = false;
        public static bool isAvailable = true;
        public static bool isConfirmed;
        public static bool isConGPRS = false;
        public static bool isNotCon = true;
        public static bool isOverExpTimeS = false;
        public static bool isPNDReq = false;
        public static bool isResDispatch;
        public static bool isResponse;
        public static bool isShortAfterLong;
        public static bool isShowConfBtn = false;
        public static bool isWork = false;
        public static string Lang = "";
        public double lat;
        public string latInd;
        public double lon;
        public static string longDispatchType = "";
        public static string longReservedDT;
        public string lonInd;
        public static string Msg1 = "Enter Dispatch Server IP Address.";
        public static string Msg2 = "PND device unable to send Identification frame.";
        public static string Msg3 = "PND Identification Message";
        public static string Msg4 = "Comport not open, please retry to connect.";
        public static string Msg5 = "Connect PND ComPort";
        public static string Msg6 = "Dispatch Server actively refuse it, please retry to connect.";
        public static string Msg7 = "Connect Dispatch Server";
        public static string Msg8 = "Enter Dispatch Server Port.";
        public static char msgRecevd;
        public static string MsgToDriver = "";
        public static bool payGrabACab = false;
        public static string PaymentStatus = "";
        public static string PNDSimNo = "";
        public static string posFrameId = "14";
        public static string queueFlag = "";
        public static string realDispatchType = "";
        public static char resdispConfrm;
        public static char resdispProc;
        public static string ReservedDT = "";
        public static string ResLongDispatchType = "0";
        public static string ResLongMsg;
        public static bool resMsgChkDriver = false;
        public static string ResMsgToDriver = "";
        public static string RespDriver = "";
        public static string RespLongDriver = "";
        public static string ResShortMsg = "";
        public static string shortDispatchType = "";
        public static Socket sockPND = null;
        public static string socPort = "";
        public static string sPosFrame = "";
        public static string status = "0";
        public static string statusPND = "1";
        public static string strDTLong = "";
        public static string strDTShort = "";
        public static string strLatPos = "";
        public static string strLonPos = "";
        public static string TaxiQueueNumber = "";
        public static string TaxiStationId = "";
        public static string TaxiStationName = "";
        public static string TaxiStationQ = "";
        public static double tmDiffArr;
    }

 

 

}
